*use "/Users/TJRyan/Dropbox/687 Pol Psych/Selective exposure project/replication files/tab1afile.dta", clear preservedrop if angcond==1ttest afraid, by(anxcond)ttest nervous, by(anxcond)ttest angry, by(anxcond)ttest outraged, by(anxcond)ttest happy, by(anxcond)ttest hopeful, by(anxcond)ttest excited, by(anxcond)ttest sad, by(anxcond)restorepreserve keep if angcond==1 | anxcond==1ttest afraid, by(anxcond)ttest nervous, by(anxcond)ttest angry, by(anxcond)ttest outraged, by(anxcond)ttest happy, by(anxcond)ttest hopeful, by(anxcond)ttest excited, by(anxcond)ttest sad, by(anxcond)restorepreservedrop if anxcond==1ttest afraid, by(angcond)ttest nervous, by(angcond)ttest angry, by(angcond)ttest outraged, by(angcond)ttest happy, by(angcond)ttest hopeful, by(angcond)ttest excited, by(angcond)ttest sad, by(angcond)restore